WP_Defender\Component\IP\Global_IP A

Total Complexity 62
Dependencies 4
Dependents 4
Total lines 381
Lines of code 202
Logical lines of code 93
Comment lines 100
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
set_global_ip_list()
A
43 13 51
fetch_global_ip_list()
A
50 9 30
is_show_dashboard_notice()
A
57 9 15
get_formated_global_ip_list()
S
56 7 18
add_to_global_ip_list()
S
49 6 32
can_blocklist_autosync()
S
71 4 6
init()
S
69 2 6
delete_dashboard_notice_reminder()
S
81 1 3
get_dashboard_notice_reminder()
S
79 1 3
set_dashboard_notice_reminder()
S
78 1 3
fetch_global_ip_list_updated_time()
S
67 1 9
__construct()
S
73 1 5
is_blocklist_autosync_enabled()
S
82 1 3
is_global_ip_enabled()
S
82 1 3
is_ip_blocked()
S
79 1 3
is_ip_allowed()
S
79 1 3
block_list()
S
82 1 3
allow_list()
S
82 1 3
get_global_ip_list()
S
80 1 3